<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center transferringOtherss_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub transferringOtherss_fd0_0'>
          <view class='flex flex-wrap align-center transferringOtherss_fd0_0_c0' @tap.stop="handleJumpDiy"
            data-type="back" data-url="1">
            <text class='fu-iconfont2  transferringOtherss_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='transferringOtherss_fd0_0_c1_c0'>积分转赠</text>
          </view>
          <view class='flex flex-wrap align-center justify-end transferringOtherss_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction align-stretch benben-flex-layout transferringOtherss_flex_1">
        <view class='flex flex-wrap align-center justify-center transferringOtherss_fd1_0'>
          <button class='transferringOtherss_fd1_0_c0'>转赠</button>
        </view>
        <view class='flex flex-direction align-stretch transferringOtherss_fd1_1'>
          <text class='transferringOtherss_fd1_1_c0'>接受人信息</text>
          <input class='transferringOtherss_fd1_1_c1' type="text" :placeholder="`请输入接受人的ID`" confirm-type="done"
            :maxlength="-1" placeholder-style="color:#999;font-size:32rpx" />
        </view>
        <view class='flex flex-direction align-stretch transferringOtherss_fd1_1'>
          <text class='transferringOtherss_fd1_1_c0'>转赠积分</text>
          <view class='flex flex-wrap align-center'>
            <input class='flex-sub transferringOtherss_fd1_2_c1_c0' type="text" :placeholder="`请输入你的转赠积分数量`"
              confirm-type="done" :maxlength="-1" placeholder-style="color:#999;font-size:32rpx" />
            <text class='transferringOtherss_fd1_2_c1_c1'>全部</text>
          </view>
        </view>
        <view class='flex flex-direction align-stretch transferringOtherss_fd1_3'>
          <view class='flex flex-wrap align-center transferringOtherss_fd1_3_c0'>
            <view class='flex flex-wrap align-center transferringOtherss_fd1_3_c0_c0'>
              <text>积分余额：</text>
              <text>10000</text>
            </view>
            <view class='flex flex-wrap align-center transferringOtherss_fd1_3_c0_c1'>
              <text>转赠收取</text>
              <text>1%</text>
              <text>的手续费</text>
            </view>
          </view>
          <text class='transferringOtherss_fd1_3_c1'>注：转赠积分仅可出整数位</text>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <benben-popup v-model="popupShow1691145289316" :mask="true" :mask-close-able="false" mode='center'>
        <!---富文本弹窗flex布局开始-->
        <view class="flex flex-direction flex-wrap align-center benben-flex-layout">
          <view class='flex flex-direction flex-wrap align-center transferringOtherss_fd2_0'>
            <text class='transferringOtherss_fd2_0_c0'>转赠规则</text>

            <scroll-view class='transferringOtherss_fd2_0_c1' :scroll-y='true'>
              <view class='flex benben-scroll flex align-center'>
                <jyf-parser class='transferringOtherss_fd2_0_c1_c0' :html="dataMessage.content | richTextFormat">
                </jyf-parser>
              </view>
            </scroll-view>

          </view>
          <image class='transferringOtherss_fd2_1' mode="aspectFit" :src='STATIC_URL+"190.png"'
            @tap.stop="popupShow1691145289316=false"></image>
        </view>

        <!---富文本弹窗flex布局结束-->

      </benben-popup>


    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'
  export default {
    components: {},


    data() {
      return {
        "popupShow1691145289316": false,
        "dataMessage": {
          "content": ""
        }
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      this.getMessageFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //获取签到规则
      async getMessageFunc() {
        //请求方法
        //数据验证

        let datadataMessage = await this.$api.post(global.apiUrls.post64156a0fd7451, {

        });

        if (datadataMessage.data.code != 1) {
          this.$message.info(datadataMessage.data.msg);
          return
        }
        let infodataMessage = datadataMessage.data;
        this.dataMessage = infodataMessage.data

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: rgba(248, 248, 248, 1);
    background-size: 100% auto;
  }

  .transferringOtherss_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .transferringOtherss_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333;
    line-height: 88rpx;
  }

  .transferringOtherss_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .transferringOtherss_fd0_0_c0 {
    width: 120rpx;
  }

  .transferringOtherss_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .transferringOtherss_flex_1 {
    background: var(--benbenbgColor1);
    padding: 0rpx 32rpx 0rpx 32rpx;
    background-size: 100% auto !important;
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .transferringOtherss_fd1_3_c1 {
    color: var(--benbenFontColor5);
    font-size: 20rpx;
    font-weight: 400;
    line-height: 28rpx;
  }

  .transferringOtherss_fd1_3_c0_c1 {
    color: #999999;
    font-size: 20rpx;
    line-height: 28rpx;
    font-weight: 400;
  }

  .transferringOtherss_fd1_3_c0_c0 {
    color: #999999;
    font-size: 26rpx;
    line-height: 37rpx;
    font-weight: 400;
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .transferringOtherss_fd1_3_c0 {
    margin: 0rpx 0rpx 16rpx 0rpx;
  }

  .transferringOtherss_fd1_3 {
    margin: 16rpx 0rpx 16rpx 0rpx;
  }

  .transferringOtherss_fd1_2_c1_c1 {
    color: #999999;
    font-size: 32rpx;
    font-weight: 400;
    line-height: 45rpx;
  }

  .transferringOtherss_fd1_2_c1_c0 {
    color: var(--benbenFontColor0);
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .transferringOtherss_fd1_1_c1 {
    color: var(--benbenFontColor0);
  }

  .transferringOtherss_fd1_1_c0 {
    color: #333333;
    font-size: 32rpx;
    font-weight: 700;
    line-height: 45rpx;
    margin: 0rpx 0rpx 16rpx 0rpx;
  }

  .transferringOtherss_fd1_1 {
    border-bottom: 1px solid #eee;
    padding: 24rpx 0rpx 24rpx 0rpx;
  }

  .transferringOtherss_fd1_0_c0 {
    background: var(--benbenbgColor7);
    border-radius: 44rpx 44rpx 44rpx 44rpx;
    width: 686rpx;
    line-height: 88rpx;
    font-size: 32rpx;
    color: #fff;
    height: 88rpx;
  }

  .transferringOtherss_fd1_0 {
    position: fixed;
    left: 0rpx;
    width: 750rpx;
    bottom: calc(48rpx + var(--window-bottom));
  }

  .transferringOtherss_fd2_1 {
    width: 56rpx;
    height: 56rpx;
    border-radius: 28rpx 28rpx 28rpx 28rpx;
  }

  ::v-deep .transferringOtherss_fd2_0_c1_c0 {
    width: 480rpx;
  }

  .transferringOtherss_fd2_0_c1 {
    touch-action: none;
    height: 330rpx;
    width: 480rpx;
  }

  .transferringOtherss_fd2_0_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: rgba(51, 51, 51, 1);
    margin: 40rpx 0rpx 32rpx 0rpx;
  }

  .transferringOtherss_fd2_0 {
    background: var(--benbenbgColor1);
    width: 560rpx;
    border-radius: 24rpx 24rpx 24rpx 24rpx;
    padding: 0rpx 32rpx 45rpx 32rpx;
    margin: 0rpx 0rpx 40rpx 0rpx;
    background-size: 100% auto !important;
  }
</style>